﻿namespace D.UtilOrm
{
    /// <summary>
    /// 分页查询参数
    /// </summary>
    public class PageQuery 
    {

        /// <summary>
        /// 是否已删除,默认为false,不删除
        /// </summary>
        public bool? DeleteFlag { get; set; } = false;

        /// <summary>
        /// 关键字查找
        /// </summary>
        public string? Key { get; set; }

        /// <summary>
        /// 当前第几页
        /// </summary>
        public int Current { get; set; } = 1;

        /// <summary>
        /// 每页多少条
        /// </summary>
        public int PageSize { get; set; } = 20;
    }
}
